﻿<%@ Page Language="C#" Theme="WebMaster" MasterPageFile="~/WebMaster/MasterPage.master" AutoEventWireup="true" CodeFile="NewsLetterAdd.aspx.cs" Inherits="webapp4U.UI.WebMaster_Default" %>
<%@ Register Src="~/WebMaster/Controls/Title.ascx" TagName="Title" TagPrefix="uc" %>
<%@ Import Namespace="webapp4U" %>
<%@ Register TagPrefix="webapp4U" Namespace="webapp4U.UI" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageContent" Runat="Server">

<uc:Title runat="server" ResourceKey='NewsLetter_Add'  />

<asp:UpdatePanel ID="UpdatePanelContactPersons" runat="server" UpdateMode="Conditional">
<ContentTemplate>

  <table border="0" align="center" width="100%">
    <tr>
        <td style="padding-top:5pt" align="center">
        
        <asp:Panel runat="server" ID="PanelMsg" Visible="false">
            <asp:Label runat="server" ID="lblMsg" CssClass="lblMsg" />
        </asp:Panel>
        <br />
        
        <asp:ValidationSummary runat="server" ID="valChangePasswordSummary"  ShowMessageBox="true" ShowSummary="false" />			
        
        <table align="center" border="0" cellpadding="6">
            <tr>
                <td align="right">
                    <span class="Required">*</span>
                    <b>Email:</b></td>
                <td>
                    <asp:TextBox ID="txtEmail" Font-Bold="true" runat="server" Width="250" MaxLength="700"></asp:TextBox>
                    <asp:RequiredFieldValidator runat="server" 
                        ID="RequiredFieldValidator1" 
                        ControlToValidate="txtEmail" 
                        ErrorMessage="Email not null" 
                        SetFocusOnError="true" Display="none">
                    </asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ErrorMessage="Invalid Email" SetFocusOnError="true" Display="none" ID="RegEmail" runat="server"
                    ControlToValidate="txtEmail" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" />
                    
                </td>
            </tr>
            
            <tr>
                <td align="right"><b>First Name:</b></td>
                <td>
                    <asp:TextBox ID="txtFirstName" Font-Bold="true" runat="server" Width="250" MaxLength="700"></asp:TextBox>
                </td>
            </tr>
            
            <tr>
                <td align="right"><b>Last Name:</b></td>
                <td>
                    <asp:TextBox ID="txtLastName" Font-Bold="true" runat="server" Width="250" MaxLength="700"></asp:TextBox>
                </td>
            </tr>
            
            <tr>
                <td align="right" colspan="2" valign="middle">
                    <asp:LinkButton ID="btSave" runat="server" OnClick="btSave_Click" Text="Save" />
                </td>
            </tr>
       </table>
        </td>
    </tr>
</table>                

</ContentTemplate>
</asp:UpdatePanel>


</asp:Content>

